<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <base href="<?php echo $system['siteRoot'];?>" />
    <title>Home</title>
    <link href="css/bootstrap.css" rel='stylesheet' type='text/css'/>
    <link href="css/style.css" rel='stylesheet' type='text/css'/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="keywords" content="Blogname Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template,
	Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design"
    />
    <script type="application/x-javascript"> addEventListener("load", function () {
            setTimeout(hideURLbar, 0);
        }, false);
        function hideURLbar() {
            window.scrollTo(0, 1);
        } </script>
    <!----webfonts---->
    <link href='http://fonts.useso.com/css?family=Oswald:100,400,300,700' rel='stylesheet' type='text/css'>
    <link href='http://fonts.useso.com/css?family=Source+Sans+Pro:200,300,400,600,700,300italic,400italic,600italic'
          rel='stylesheet' type='text/css'>
    <!----//webfonts---->
    <script src="http://ajax.useso.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <!--end slider -->
    <!--script-->
    <script type="text/javascript" src="js/move-top.js"></script>
    <script type="text/javascript" src="js/easing.js"></script>
    <!--/script-->
    <script type="text/javascript">
        jQuery(document).ready(function ($) {
            $(".scroll").click(function (event) {
                event.preventDefault();
                $('html,body').animate({scrollTop: $(this.hash).offset().top}, 900);
            });
        });
    </script>
    <!---->

</head>
<body>
<?php import_tpl('header.php') ?>
<div class="content">
<div class="container">
    <div class="content-grids">
        <div class="col-md-8 content-main">
            <div class="content-grid">
                <div class="content-grid-head">
                    <h3>POST OF THE DAY</h3>
                    <h4>July 24, 2014,Posted by: <a href="#">Admin</a></h4>

                    <div class="clearfix"></div>
                </div>
                <div class="content-grid-info">
                    <h3><a href="single.html">个人介绍</a></h3>

                    <p>这可以放一些描述</p>
                    <img src="images/c1.jpg" alt=""/>
                    <a class="bttn" href="single.html">查看更多</a>
                </div>
            </div>

            <?php foreach($r['article'] as $i){?>
                <div class="content-grid-sec">
                    <div class="content-sec-info">
                        <h3><a href="<?php e_action("content","id={$i['id']}");?>"><?=$i['title']?></a></h3>
                        <h4><?=date("Y/m/d",strtotime($i['publish_time']))?></h4>

                        <p><?=TextFilter::htmlCut($i['content'],0,120)?></p>
                        <img src="<img src="<?=$i['pic_url']?:"默认图片"?>" alt="">
                        <a class="bttn" href="<?php e_action("content","id={$i['id']}");?>">查看更多</a>
                    </div>
                </div>
            <?php } ?>
            <div class="pages">
                <?=$r['page']?>
            </div>
        </div>
        <?php import_tpl('nav.php') ?>
        <div class="clearfix"></div>
    </div>
</div>
</div>
<?php import_tpl('footer.php') ?>
</body>
</html>